package com.studerb.old;
//package com.studerb.service;
//
//import javax.sql.DataSource;
//import org.springframework.context.support.ClassPathXmlApplicationContext;
//import com.studerb.exceptions.AppKillerException;
//
//public class SpringService extends ServiceImp {
//	
//    private static ClassPathXmlApplicationContext appContext;
//	private static SpringService ref;
//	DataSource ds;
//	
//	public void start() throws AppKillerException {
//		try {
//			super.start();
//			appContext = new ClassPathXmlApplicationContext(new String[] {"applicationContext.xml"});
//		} catch (Exception e) {
//			started = false;
//			throw new AppKillerException("starting spring service: " + e.getMessage(), e);
//		}
//	}
//	
//	public void stop(){
//		super.stop();
//	}
//	
//	public static SpringService getInstance(){
//		if (ref == null)
//			ref = new SpringService();
//		return ref;
//	}
//}
